package ac.aiit.tw;

import twitter4j.TwitterStream;
import twitter4j.TwitterStreamFactory;

public class twFactory {
	private static final String _consumerKey = "PGOsA2vEaPJr9UUqXWvww";
	private static final String _consumerSecret = "QVSVRy2ynWspL5z6Zw620MbKJDbDsyg0icIpgy8";
	public static final TwitterStream getStreamInstance(){
	    TwitterStream twitterStream = new TwitterStreamFactory().getInstance();
//	    twitterStream.setOAuthConsumer(_consumerKey, _consumerSecret);
	    return twitterStream;
	}
}
